home *** CD-ROM | disk | FTP | other *** search
-
-
-
- MMMMrrrrmmmmFFFFeeeettttcccchhhhSSSSeeeettttVVVVaaaalllluuuueeeessss((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV MMMMrrrrmmmmFFFFeeeettttcccchhhhSSSSeeeettttVVVVaaaalllluuuueeeessss((((3333XXXX))))
-
-
-
- NNNNAAAAMMMMEEEE
- _M_r_m_F_e_t_c_h_S_e_t_V_a_l_u_e_s - Fetches the values to be set from
- literals stored in UID files
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- #include <Mrm/MrmPublic.h>
-
- Cardinal MrmFetchSetValues(hhhhiiiieeeerrrraaaarrrrcccchhhhyyyy____iiiidddd,,,, wwwwiiiiddddggggeeeetttt,,,, aaaarrrrggggssss,,,, nnnnuuuummmm____aaaarrrrggggssss)
- _M_r_m_H_i_e_r_a_r_c_h_yhhhhiiiieeeerrrraaaarrrrcccchhhhyyyy____iiiidddd;
- _W_i_d_g_e_t wwwwiiiiddddggggeeeetttt;
- _A_r_g_L_i_s_t aaaarrrrggggssss;
- _C_a_r_d_i_n_a_l nnnnuuuummmm____aaaarrrrggggssss;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The _M_r_m_F_e_t_c_h_S_e_t_V_a_l_u_e_s function is similar to _X_t_S_e_t_V_a_l_u_e_s,
- except that the values to be set are defined by the UIL
- named values that are stored in the UID hierarchy.
- _M_r_m_F_e_t_c_h_S_e_t_V_a_l_u_e_s fetches the values to be set from literals
- stored in UID files.
-
- hhhhiiiieeeerrrraaaarrrrcccchhhhyyyy____iiiidddd
- Specifies the ID of the UID hierarchy that contains the
- specified literal. The hhhhiiiieeeerrrraaaarrrrcccchhhhyyyy____iiiidddd was returned in a
- previous call to _M_r_m_O_p_e_n_H_i_e_r_a_r_c_h_y_P_e_r_D_i_s_p_l_a_y.
-
- wwwwiiiiddddggggeeeetttt
- Specifies the widget that is modified.
-
- aaaarrrrggggssss Specifies an argument list that identifies the widget
- arguments to be modified as well as the index (UIL
- name) of the literal that defines the value for that
- argument. The name part of each argument
- (args[n].name) must begin with the string _X_m_N followed
- by the name that uniquely identifies this attribute
- tag. For example, _X_m_N_w_i_d_t_h is the attribute name
- associated with the core argument wwwwiiiiddddtttthhhh. The value
- part (args[n].value) must be a string that gives the
- index (UIL name) of the literal. You must define all
- literals in UIL as exported values.
-
- nnnnuuuummmm____aaaarrrrggggssss
- Specifies the number of entries in aaaarrrrggggssss.
-
- This function sets the values on a widget, evaluating the
- values as public literal resource references resolvable from
- a UID hierarchy. Each literal is fetched from the
- hierarchy, and its value is modified and converted as
- required. This value is then placed in the argument list
- and used as the actual value for an _X_t_S_e_t_V_a_l_u_e_s call.
- _M_r_m_F_e_t_c_h_S_e_t_V_a_l_u_e_s allows a widget to be modified after
- creation using UID file values exactly as is done for
- creation values in _M_r_m_F_e_t_c_h_W_i_d_g_e_t.
-
-
-
- Page 1 (printed 11/11/03)
-
-
-
-
-
-
- MMMMrrrrmmmmFFFFeeeettttcccchhhhSSSSeeeettttVVVVaaaalllluuuueeeessss((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV MMMMrrrrmmmmFFFFeeeettttcccchhhhSSSSeeeettttVVVVaaaalllluuuueeeessss((((3333XXXX))))
-
-
-
- As in _M_r_m_F_e_t_c_h_W_i_d_g_e_t, each argument whose value can be
- evaluated from the UID hierarchy is set in the widget.
- Values that are not found or values in which conversion
- errors occur are not modified.
-
- Each entry in the argument list identifies an argument to be
- modified in the widget. The name part identifies the tag,
- which begins with _X_m_N. The value part must be a string
- whose value is the index of the literal. Thus, the
- following code would modify the label resource of the widget
- to have the value of the literal accessed by the index
- OK_button_label in the hierarchy: args[n].name = XmNlabel;
- args[n].value = "OK_button_label";
-
- RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
- This function returns one of these status return constants:
-
- _M_r_m_S_U_C_C_E_S_S
- The function executed successfully.
-
- _M_r_m_P_A_R_T_I_A_L__S_U_C_C_E_S_S
- At least one literal was successfully fetched.
-
- _M_r_m_B_A_D__H_I_E_R_A_R_C_H_Y
- The hierarchy ID was invalid.
-
- _M_r_m_F_A_I_L_U_R_E
- The function failed.
-
- RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
- _M_r_m_O_p_e_n_H_i_e_r_a_r_c_h_y_P_e_r_D_i_s_p_l_a_y(_3_X), _X_t_S_e_t_V_a_l_u_e_s(_3_X).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 2 (printed 11/11/03)
-
-
-
-